Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Color Lookup Table Types

The tableType parameter of the QAColorTableNew function specifies a color lookup table type. QuickDraw 3D RAVE currently supports these types of color lookup tables:

typedef enum TQAColorTableType {
    kQAColorTable_CL8_RGB32             = 0,
    kQAColorTable_CL4_RGB32             = 1
} TQAColorTableType;

Constant descriptions

kQAColorTable_CL8_RGB32
The color lookup table contains 256 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.
kQAColorTable_CL4_RGB32
The color lookup table contains 16 colors, and each color occupies 32 bits of memory, with the red component in bits 23 through 16, the green component in bits 15 through 8, and the blue component in bits 7 through 0.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |